package com.aaa.service.impl;

import com.aaa.dao.PermissionDao;
import com.aaa.entity.Permission;
import com.aaa.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class PermissionServiceIpl implements PermissionService {
    @Autowired
    private  PermissionDao permissionDao;
    @Override
    public List<Permission> selectByUserId(Object userid) {
        System.out.println("```````````````````````````````````");
        return permissionDao.selectByUserId(userid);
    }
}
